﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.Business;

namespace University.Workshop.Presenters.AppointmentFolder
{
    public class PresenterGetAppointmentsToday
    {
        IAppointmentsToday view;

        public PresenterGetAppointmentsToday(IAppointmentsToday view)
        {
            this.view = view;
        }

        public ICollection<Appointment> ObtainAppointmentsToday()
        {
            return AppointmentManager.GetAppointmentsToday(view.DoctorId, view.DateToday);
        }
    }
}
